package com.htu.tax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htu.tax.common.ResponseModel;
import com.htu.tax.entity.Driver;
import com.htu.tax.payload.request.Driver.AddDriverRequest;
import com.htu.tax.payload.request.Driver.ChangeDriverRequest;
import com.htu.tax.payload.request.Driver.SelectDriverRequest;
import com.htu.tax.payload.request.Driver.UpdateDriverRequest;

public interface DriverService extends IService<Driver> {
    ResponseModel addDriver(AddDriverRequest request);

    IPage<Driver> selectDriver(SelectDriverRequest request);

    void updateDriver(UpdateDriverRequest request);

    Integer changeDriverState(ChangeDriverRequest request);
}
